﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PMS.BLL;
using PMS.Entity;
using PMS.Resources;
using PMS.Win;
using PMS.Utils;
using CrystalDecisions.CrystalReports.Engine;
using PMS.Report;

namespace PMS.ReportViewer
{
    public partial class PhieuGiaoHangViewer : BaseForm
    {
        public PhieuGiaoHangViewer(string soPG)
        {
            InitializeComponent();
            ReportBO rp = new ReportBO();
            ReportClass r = new PhieuGiao();
            DataSet ds = rp.PhiepGiaoHangKhoReport(soPG);
            r.SetDataSource(ds);
            crystalReportViewer1.ReportSource = r;
        }

    }
}
